package com.bootdo.common.utils;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 常量配置类
 * @author chengxh
 * @email 1506464266@qq.com
 * @date 2019-5-05 17:11:16
 */
@Configuration
@ConfigurationProperties(prefix = "constants")
public class Constants {
	    @NotEmpty
	    private String  qqAppId;

	    @NotEmpty
	    private String qqAppSecret;

	    @NotEmpty
	    private String qqRedirectUrl;

	    @NotEmpty
	    private String weCatAppId;

	    @NotEmpty
	    private String weCatAppSecret;

	    @NotEmpty
	    private String weCatRedirectUrl;

	    public String getQqAppId() {
	        return qqAppId;
	    }

	    public void setQqAppId(String qqAppId) {
	        this.qqAppId = qqAppId;
	    }

	    public String getQqAppSecret() {
	        return qqAppSecret;
	    }

	    public void setQqAppSecret(String qqAppSecret) {
	        this.qqAppSecret = qqAppSecret;
	    }

	    public String getQqRedirectUrl() {
	        return qqRedirectUrl;
	    }

	    public void setQqRedirectUrl(String qqRedirectUrl) {
	        this.qqRedirectUrl = qqRedirectUrl;
	    }

	    public String getWeCatAppId() {
	        return weCatAppId;
	    }

	    public void setWeCatAppId(String weCatAppId) {
	        this.weCatAppId = weCatAppId;
	    }

	    public String getWeCatAppSecret() {
	        return weCatAppSecret;
	    }

	    public void setWeCatAppSecret(String weCatAppSecret) {
	        this.weCatAppSecret = weCatAppSecret;
	    }

	    public String getWeCatRedirectUrl() {
	        return weCatRedirectUrl;
	    }

	    public void setWeCatRedirectUrl(String weCatRedirectUrl) {
	        this.weCatRedirectUrl = weCatRedirectUrl;
	    }

}
